<div id="banner">
<div id="channels" class="channels">
 <div class="channels"> 
 <span class="pam_sub-black"><?php echo $text_social; ?></span><br>
 <a href="#" onmouseout="rollover('m0','ico_rss_gray.png')" onmouseover="rollover('m0','ico_rss.png');">
 <img border="0" name="m0" src="/theme/ico_rss_gray.png"></a>&nbsp;
 <a href="#" onmouseout="rollover('m1','ico_twitter_gray.png')" onmouseover="rollover('m1','ico_twitter.png');">
 <img border="0" name="m1" src="/theme/ico_twitter_gray.png"></a>&nbsp;
 <a href="#" onmouseout="rollover('m2','ico_facebook_gray.png')" onmouseover="rollover('m2','ico_facebook.png');">
 <img border="0" name="m2" src="/theme/ico_facebook_gray.png"></a>&nbsp;
 <a href="#" onmouseout="rollover('m3','ico_youtube_gray.png')" onmouseover="rollover('m3','ico_youtube.png');">
 <img border="0" name="m3" src="/theme/ico_youtube_gray.png"></a></div>
<? getAvailableLanguages(); ?>
 </div> 
 <div class="company-title"> 
 <?php
$sSql ="Select portal.slogan_".$LANG." as slogan,  portal.sitelogo_".$lt." as logo From portal Where id =".$portalId;
      $rs=$GLOBALS["conn"]->Execute($sSql); 
    //  Portal_log($sSql);	   
		  ?>
		  <style>
		  .logo{
background: url("<?php echo $apppath; ?>/logos/<?php echo $rs->fields["logo"]; ?>") no-repeat scroll <?php echo $left?> center transparent;
}    
		  </style>
		  <a class="logo" href="/<?php echo $appname; ?>" title="<?php echo $rs->fields["slogan"]; ?>"></a>
	 <?php
		
?>	  
</div></div>